package com.bosch.in.rtp1.ept.manager;

import java.sql.SQLException;

import com.bosch.in.rtp1.ept.model.dto.SkippedFshRcpCon;

/**
 * Business Delegate interface to define contract of service which is used to manipulate data
 * on Skipped Finished Recipe Condition table
 * @author LIV1HC
 */

public interface SkpFshRcpManager {
	
	/**
	 * Get last skipped finished recipe condition 
	 * @return SkippedFshRcpCon
	 * @throws SQLException 
	 */
	SkippedFshRcpCon getSkpFshRcpCon() throws SQLException ;
	
	/**
	 * update SkippedFshRcpCon
	 * @param  SkippedFshRcpCon
	 * @return true if successfully updated
	 * @throws SQLException 
	 */
	boolean updateSkippedFshRcpCon(SkippedFshRcpCon oldSkippedFshRcpCon, SkippedFshRcpCon newSkippedFshRcpCon) throws SQLException ;
	
	/**
	 * insert new SkippedFshRcpCon
	 * @param  SkippedFshRcpCon
	 * @return true if successfully updated
	 * @throws SQLException
	 */
	boolean insertSkippedFshRcpCon(SkippedFshRcpCon skippedFshRcpCon) throws SQLException;
	
}
